home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
dhhelper.zip
/
DEMO2.HLS
< prev
next >
Wrap
Text File
|
1990-06-22
|
7KB
|
181 lines
!=========================================================================
!
! DEMO2.hls Help file for use with DEMO2.pas, for Pascal programmers
! --------------------------------------------------------
!
! This text file is similar to DEMO1.hls, with the addition of user-
! defined functions which have been specifically designed to work with
! the Turbo Pascal program DEMO2.PAS. Use The Helper to compile and run
! this file and it will work correctly, but typing Enter on the user-
! defined functions will just result in a message to say that a user
! function has been activated. However, when you run DEMO2.PAS using your
! Turbo Pascal compiler it will access the compiled help file and the
! user-defined functions will work.
!
! Type Alt-R to compile and run this demo.
!
!=========================================================================
!!TextMem1=DEMO2
!Category1
!Window 12 5 64 18
!Colors 113 113 112 94 0 0 0 0
!..note the use of ^C to insert the text memory defined with !!TextMem1=..
!..and ^A to mark the highlighted phrases, and where to go when selected..
(0,1) (TextMem1) - CONTENTS
=============================================
Use and <Enter> to select a topic.
Use F1 from anywhere to return to this menu.
How to use this Help........(2,1) Help with Help
Demonstrate user functions..(8,1) User functions
Enter DOS commands..........(7,1) Dos
Animation demonstration.....(9,1) Animation
!Category2 Help with Help
!Colors 113 113 112 94 0 0 0 0
!Window 12 3 66 22
Help with Help
===============
(120,0) The Help screens are interactive. If highlighted
options and a cursor bar are visible then move the
cursor over them and select one by pressing <Enter>.
General commands for using the Help screens are:
(0)
F1 - display Help Contents
Esc - quit Help and return to the program
,,Home,End - move cursor
a..z,A..Z - move cursor to the next highlight
containing (upper case) A to Z.
Enter - select topic under cursor
Backspace - skip backwards through previously
displayed topics
(120,0) PgDn for more...
!Page2
!Window 12 3 66 23
(120,0)
Some Help topics have several pages, indicated
in the top border. If you see PgDn or PgUp in the
top border, scroll through the pages with these,
where ^ means press Ctrl with the indicated key:
(0)
PgUp - previous page in current topic
PgDn - next page " " "
^PgUp - first page " " "
^PgDn - last page " " "
(120,0) Some additional commands are:
(0)
(3,1) F2 - print some/all of the Help screens
(4,1) F3 - find a text string in the Help file
(4,1) F4 - repeat last find
(5,1) Alt-F1..F10 - Store this page
(6,1) Ctrl-F1..F10 - Restore stored page
!Category3
!Window 12 5 66 20
F2 - Print the Help file
-------------------------
Press F2 to get the following options:
A to print all screens in the Help file
C " " the current Help category
P " " the current Help page only
L to set the number of lines per page
Press Esc to quit and return to the help screens.
Interrupt the printing by pressing any key.
!Category4
!Window 12 5 66 23
F3,F4 - Find a text string in the Help file
---------------------------------------------
Press F3 to search through all pages of the Help
file for any text string. The page containing
that string will be displayed if it is found.
Then press F4 to find the next page containing
that string, or F3 to search for a new string.
The search not case-sensitive, and starts from
the current position in the Help file. Press F1
first to go to the top of the file if you need
a complete search. Do not try searching for
multiple characters such as -------- as these
are saved in compressed form on the disk.
!Category5
!Window 12 5 66 19
Alt-F1..F10 - Store current page
-----------------------------------
There are 10 page memories available, so that you
can flip instantly to any pre-stored location in
the help file. Store the current page into one of
the memories by typing one of the function keys
F1 to F10 while holding down the Alt key. You can
then return instantly to that page at any future
time by typing the Ctrl-function key.
See (6,1) Ctrl-F1..F10 for more.
!Category6
Ctrl-F1..F10 - Goto stored page
----------------------------------
If a page has been stored into one of the 10
memories with (5,1) Alt-F1..F10 , it can be instantly
recalled by typing Ctrl-F1..F10.
eg. Store this page by typing Alt-F1. Then go to
the contents page with F1 (or anywhere else
in the help file) and type Ctrl-F1. If all
goes well you should be back here again.
!Category7
!Window 16 8 62 17
!Colors 23 23 30 94 0 0 0 0
DOS functions. Choose from..
Directory listing...........(255,248) dir
(255,250) Enter a DOS shell
!Category8
!Window 12 4 69 22
!Colors 113 113 112 94 0 0 0 0
(116,112)┌────────────────────────────┐(0)
User functions (116,112)│For Turbo Pascal programming│(0)
--------------- (116,112)└────────────────────────────┘(0)
When using this help file with DEMO2.pas or DEMO2.exe
you can use hot-keys "A" and "C" at this or any other
screen in the Help file. Also note that F2 has been
suppressed, and does not activate the normal Print.
A = sound the bell
C = toggle category number display in window border
User-defined cursor options:
Write random numbers (255,1) Random numbers
Enter filename, see if it exists. (255,160) --------------
!
!----- The special ^A(255,[1..200]) commands are reserved for activating
!----- up to 200 separate user-defined functions within your Turbo Pascal
!----- program. HelpExitStr is a string variable which contains the
!----- code for the selected function. e.g. if Enter was pressed on the
!----- "Random Numbers" selection above, then HelpExitStr=#255#1 when
!----- exiting from the Help file to your program, so your program knows
!----- which user function is to be activated.
!-----
!----- For more on these and other special ^A commands, type F1 for help
!----- and select "Commands" from the main menu and "^A(#,#)...^A" from
!----- the Commands menu.
!
!offset8 Animation demo (to match the category of the include file)
!include animate.hls (the animation demo, as an include file)